<!DOCTYPE HTML>
<html>
  <head>
    <title>Kidswear</title>
        <link type = "image/x-icon" rel="SHORTCUT ICON" href="img/favicon.ico" />	
        <script type="text/javascript" src="jquery/jquery-1.7.1.min.js"></script>     
				<link rel="stylesheet" href="css/style.css" />
        <link rel="stylesheet" href="css/grid-12.css" />
        <meta name="description" content="clothing" />
				<meta name="keywords" content="kunuki, kidswerar, girlswear, womenswear, accessories, assamese, guwahati clothings" />
				<meta name="author" content="Tigmaminds" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <script type="text/javascript" language="javascript">
          $('document').ready(function() {
              
            });
    		});        
				</script>
  </head>
  <body>
    <div id="container" class="container_12">
    
    <?php
    include("inc/db.class.php");
		include("class/Product.class.php");
		require("php/header.php");
		include("inc/functions.php");
		$database = new database();
		$product = new Product();
		?>
      <div id="line" class="grid_12"></div>
			<div id="side-bar" class="grid_3 omega">
				<h3>Kidswear</h3>
				<ul>
					<li>
						<a href='kidswear.php?type=top'>Top</a>
					</li>
					<li>
						<a href='kidswear.php?type=top'>Huggies</a>
					</li>
					<li>
						<a href='kidswear.php?type=pant'>Pants</a>
					</li>
					<li>
						<a href='kidswear.php?type=towel'>Towels</a>
					</li>
						<li>
						<a href='kidswear.php?type=baby_staff'>Baby stuffs</a>
					</li>
					<li>
						<a href='kidswear.php?type=tshirt'>T-shirts</a>
					</li>						
				</ul>
			</div>
			<div id="product-wrapper" class="grid_9 omega">
				<h3>Item(s) found</h3>
				<ul class="product-container">
	        <?php
						$product_for="kidswear";
						$where = "select * from product where `show` = 1 and `is_deleted` = 0 ";
						if($product_for!='')
						{
							$where.= " and `product_for` like '$product_for'";
						}
						foreach($product->get_product($where) as $product){
						echo "<li class='product'>
										<div class='product-image-wrapper'>
											<img style='z-index: 10;' src='".$product->path."' width='160' height='160' />
										</div>
										<p class='product-info'>".$product->title."</p>
										<span class='price-tag'>".$product->price."</span>
									</li>";
						}
					?>
					<span class="clear"></span>
				</ul>
			</div>
						
			<?php require("php/footer.php"); ?>
    </div>
  </body>
</html>
